package top.hjcwzx.wrench.mqtt.event;

import org.springframework.context.ApplicationEvent;

/**
 *
 * <p><b>类名：</b> MqttConnectionLostEvent</p>
 * <p><b>描述：</b> mqtt消息丢失事件</p>
 * <p><b>创建时间：</b> 2025-06-17 15:34</p>
 *
 * @author 胡锦程
 */
public class MqttConnectionLostEvent extends ApplicationEvent {
    private final Throwable cause;

    public MqttConnectionLostEvent(Object source, Throwable cause) {
        super(source);
        this.cause = cause;
    }
}
